package com.example.dryclean_admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 进度阶段实体类
 * </p>
 *
 * @author lijiaxin
 * @since 2024-01-01
 */
@TableName("progress")
public class ProgressStage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String stageName;

    private String description;

    @TableField(exist = false)
    private List<Orderlog> orderLogs;

    public List<Orderlog> getOrderLogs() {
        return orderLogs;
    }

    public void setOrderLogs(List<Orderlog> orderLogs) {
        this.orderLogs = orderLogs;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "ProgressStage{" +
                "id=" + id +
                ", stageName='" + stageName + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
